package com.dsjwjj.wangjj.merchant.mapper;

import com.dsjwjj.wangjj.merchant.params.MerchantRequestParams;
import com.dsjwjj.wangjj.merchant.pojo.Merchant;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MerchantMapper {
    int addMerchant(MerchantRequestParams merchantRequestParams);

    Merchant findMerchantByName(String mname);
    Merchant login(MerchantRequestParams merchantRequestParams);

    int updateMerchant(Merchant merchant);
}
